//
//  HWMineHeaderView.swift
//  HWanGame
//
//  Created by 王昌健 on 2022/8/23.
//  Copyright © 2022 94Wan. All rights reserved.
//

import UIKit

class HWMineHeaderView: UICollectionReusableView {
    var titleLabel:UILabel!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        initUI()
        
        initFrame()
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func initUI() -> Void {
        titleLabel = HWLabel.createBoldLabel(title: "", color: "#333333", font: 18*widthScale)
        addSubview(titleLabel)
    }
    
    func initFrame() -> Void {
        titleLabel.snp.makeConstraints { make in
            make.left.equalTo(18*widthScale)
            make.centerY.equalToSuperview()
        }
    }
}
